<script type="text/javascript">
	/* window.rootPath = (function (src) {
		src = document.scripts[document.scripts.length - 1].src;
		return src.substring(0, src.lastIndexOf("/") + 1);
	})(); */
	layui.config({
		// base: rootPath + "lay-module/",
		// version: true
		base: '__STATIC__/common/libs/layui_exts/',
		version: '{$Think.const.ZENGCMS_VERSION}',
	}).extend({
		zengForm: 'zengForm/zengForm',//自定义
		clipboard: 'clipboard/clipboard',//点击复制参数
		notice: 'notice/notice',//通知
		// tableSelect: 'tableSelect/tableSelect',//图片选择器(table选择扩展)和layuimini的lay-module重复了在main.html里调用了
		ztree: 'ztree/ztree',//管理内容左侧栏目
		dragsort: 'dragsort/dragsort',//拖动
		tagsinput: 'tagsinput/tagsinput',//回车tags
		xmSelect: 'xmSelect/xm-select',//xmSelect下拉单、多选
		selectPage: 'selectPage/selectpage',//高级下拉框
		// echarts: 'echarts/echarts',
		// echartsTheme: 'echarts/echartsTheme',
		citypicker: 'citypicker/city-picker',//城市选择
		webuploader: 'webuploader/webuploader',//上传
		ueditor: 'ueditor/ueditor.min',//百度编辑器
	}).use('zengForm');
</script>